<template>
  <div class="opus-page">
    <Banner/>
    <!-- 子路由出口：NewsList 或 NewsDetail 会在这里渲染 -->
    <router-view />
  </div>
</template>

<script setup>
defineOptions({
  name: 'News'
})

import NewsDetail from "@/components/news/NewsDetail.vue";
import Banner from "@/components/Banner.vue";

</script>

<style scoped>
.opus-page {
  padding-top: 80px;
}
</style>
